Optimal. Leaf size=673 \[ \frac{g \left (b^2-4 a c\right ) \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{8 (e f-d g) \left (a g^2-b f g+c f^2\right )^{3/2}}+\frac{e \sqrt{a e^2-b d e+c d^2} \tanh ^{-1}\left (\frac{-2 a e+x (2 c d-b e)+b d}{2 \sqrt{a+b x+c x^2} \sqrt{a e^2-b d e+c d^2}}\right )}{(e f-d g)^3}-\frac{e^2 \sqrt{a g^2-b f g+c f^2} \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{g (e f-d g)^3}+\frac{e^2 (2 c f-b g) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{2 \sqrt{c} g (e f-d g)^3}-\frac{g \sqrt{a+b x+c x^2} (-2 a g+x (2 c f-b g)+b f)}{4 (f+g x)^2 (e f-d g) \left (a g^2-b f g+c f^2\right )}+\frac{e (2 c f-b g) \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{2 g (e f-d g)^2 \sqrt{a g^2-b f g+c f^2}}+\frac{e \sqrt{a+b x+c x^2}}{(f+g x) (e f-d g)^2}-\frac{\sqrt{c} e \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{g (e f-d g)^2}-\frac{e (2 c d-b e) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{2 \sqrt{c} (e f-d g)^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 2.08197, antiderivative size = 673, normalized size of antiderivative = 1., number of steps used = 23, number of rules used = 8, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.276 \[ \frac{g \left (b^2-4 a c\right ) \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{8 (e f-d g) \left (a g^2-b f g+c f^2\right )^{3/2}}+\frac{e \sqrt{a e^2-b d e+c d^2} \tanh ^{-1}\left (\frac{-2 a e+x (2 c d-b e)+b d}{2 \sqrt{a+b x+c x^2} \sqrt{a e^2-b d e+c d^2}}\right )}{(e f-d g)^3}-\frac{e^2 \sqrt{a g^2-b f g+c f^2} \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{g (e f-d g)^3}+\frac{e^2 (2 c f-b g) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{2 \sqrt{c} g (e f-d g)^3}-\frac{g \sqrt{a+b x+c x^2} (-2 a g+x (2 c f-b g)+b f)}{4 (f+g x)^2 (e f-d g) \left (a g^2-b f g+c f^2\right )}+\frac{e (2 c f-b g) \tanh ^{-1}\left (\frac{-2 a g+x (2 c f-b g)+b f}{2 \sqrt{a+b x+c x^2} \sqrt{a g^2-b f g+c f^2}}\right )}{2 g (e f-d g)^2 \sqrt{a g^2-b f g+c f^2}}+\frac{e \sqrt{a+b x+c x^2}}{(f+g x) (e f-d g)^2}-\frac{\sqrt{c} e \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{g (e f-d g)^2}-\frac{e (2 c d-b e) \tanh ^{-1}\left (\frac{b+2 c x}{2 \sqrt{c} \sqrt{a+b x+c x^2}}\right )}{2 \sqrt{c} (e f-d g)^3} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[a + b*x + c*x^2]/((d + e*x)*(f + g*x)^3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)**(1/2)/(e*x+d)/(g*x+f)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 2.99405, size = 523, normalized size = 0.78 \[ \frac{-\frac{\log (f+g x) \left (g \left (8 a^2 e^2 g^2-4 a b e g (d g+3 e f)+b^2 \left (-d^2 g^2+6 d e f g+3 e^2 f^2\right )\right )+4 a c g \left (d^2 g^2+3 e^2 f^2\right )-4 b c e f^2 (3 d g+e f)+8 c^2 d e f^3\right )}{\left (g (a g-b f)+c f^2\right )^{3/2}}+\frac{\left (g \left (8 a^2 e^2 g^2-4 a b e g (d g+3 e f)+b^2 \left (-d^2 g^2+6 d e f g+3 e^2 f^2\right )\right )+4 a c g \left (d^2 g^2+3 e^2 f^2\right )-4 b c e f^2 (3 d g+e f)+8 c^2 d e f^3\right ) \log \left (2 \sqrt{a+x (b+c x)} \sqrt{g (a g-b f)+c f^2}+2 a g-b f+b g x-2 c f x\right )}{\left (g (a g-b f)+c f^2\right )^{3/2}}+8 e \log (d+e x) \sqrt{e (a e-b d)+c d^2}-8 e \sqrt{e (a e-b d)+c d^2} \log \left (2 \sqrt{a+x (b+c x)} \sqrt{e (a e-b d)+c d^2}+2 a e-b d+b e x-2 c d x\right )+\frac{2 \sqrt{a+x (b+c x)} (e f-d g) \left (\frac{(f+g x) (2 c f (d g+e f)-g (-4 a e g+b d g+3 b e f))}{g (a g-b f)+c f^2}-2 d g+2 e f\right )}{(f+g x)^2}}{8 (e f-d g)^3} \]
Antiderivative was successfully verified.
[In] Integrate[Sqrt[a + b*x + c*x^2]/((d + e*x)*(f + g*x)^3),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.032, size = 6714, normalized size = 10. \[ \text{output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)^(1/2)/(e*x+d)/(g*x+f)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{c x^{2} + b x + a}}{{\left (e x + d\right )}{\left (g x + f\right )}^{3}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + b*x + a)/((e*x + d)*(g*x + f)^3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + b*x + a)/((e*x + d)*(g*x + f)^3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)**(1/2)/(e*x+d)/(g*x+f)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 1.60089, size = 4, normalized size = 0.01 \[ \mathit{sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + b*x + a)/((e*x + d)*(g*x + f)^3),x, algorithm="giac")
[Out]